package com.app.manage.moudles.app.entity;

import java.util.ArrayList;
import java.util.Date;

import com.app.manage.utils.PageSearch;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * (TApp)表实体类
 *
 * @author makejava
 * @since 2025-05-16 11:18:25
 */
@SuppressWarnings("serial")
@Data
@TableName("t_app")
public class TApp   {

    @TableId(type = IdType.AUTO)
    private Integer id;
    //应用名称
    private String appName;
    //应用编码
    private String appCode;
    //应用描述
    private String appDesc;

    //应用负责人
    private String appPrincipal;

    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
    private Date createTime;
    
    private String createBy;
    
    private Date updateTime;
    
    private String updateBy;

    private String jarName;

    private String logPath;

    private String startCmd;

    private String appPath;

    private String stopCmd;

    private String restartCmd;

    //归属分组
    @TableField(exist = false)
    private Integer longGroup;

    @TableField(exist = false)
    private String longGroupName;

    @TableField(exist = false)
    private String appServers;

    @TableField(exist = false)
    private String  serverIpListStr = "";

    @TableField(exist = false)
    private Integer appServerId;

    }

